package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduHouse.EduHouseVO;
import com.jwsoft.manager.common.vo.eduHouse.StudentHouseQueryVO;
import com.jwsoft.manager.common.vo.eduStudentHouse.EduStudentHouseKeyVO;
import com.jwsoft.manager.common.vo.eduStudentHouse.EduStudentHouseQueryByRealpVO;
import com.jwsoft.manager.common.vo.eduStudentHouse.EduStudentHouseQueryVO;
import com.jwsoft.manager.common.vo.eduStudentHouse.EduStudentHouseVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 录取学生房产信息表业务本地接口
 *
 * @author wangtao
 * @since 2022-12-01
 */
public interface EduStudentHouseIntegration {
    /** 分页查询 */
    PageInfo<EduStudentHouseVO> getList(EduStudentHouseQueryVO vo);
    /** 根据主键查询详情 */
    EduStudentHouseVO getById(EduStudentHouseKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduStudentHouseVO vo);
    /** 新增 */
    EduStudentHouseVO add(EduStudentHouseVO vo);
    /** 修改 */
    EduStudentHouseVO edit(EduStudentHouseVO vo);
    /** 根据主键删除 */
    void del(EduStudentHouseKeyVO vo);

    PageInfo<EduStudentHouseVO> queryStudentHouseInfo(StudentHouseQueryVO vo);
    //手机端房产使用查询
    EduHouseVO getListByRealp(EduStudentHouseQueryByRealpVO vo);

    //我的房产使用查询
    List<EduHouseVO> getMyUserHouse(EduStudentHouseQueryByRealpVO vo);
    /**
     * 清除缓存
     * */
    void clearCache(EduStudentHouseQueryByRealpVO vo);

    void downloadData(StudentHouseQueryVO vo, HttpServletResponse response) ;

    EduStudentHouseVO updateStatus(EduStudentHouseVO vo);

}
